I have made some change in the following procedures of the reader:
RTFGetToken:
Not only newlines and carriage returns, but also NULL characters, which can appear by some transports, will be silently discarded.
ReadStyleSheet:
In some German versions of WORD the Normale style is called Standard style!
And there are some RTF control-words which aren't described in the RTF-Specification I have, but nevertheless appear in RTF-files which are created by the versions of WINWORD and Macintosh's WORD I use. So I have created a few new RTFKeys, which are shown in the following table:
rtfKMajor | rtfKMinor | rtfKStr | rtfKHash |
(major number) | (minor number) | (symbol name) | (symbol name hash value) |
rtfDestination, | rtfIVerscomm, | verscomm, | 0 |
rtfTblAttr, | rtfClshdng, | clshdng, | 0 |
for \makebackup I have taken the same RTFKey as it is taken for makeback (rtfMakeBackup), and for \cs and \ds the same as for \s (rtfStyleNum)